//
//  HMAddCartWithSize.h
//  HMMarket
//
//  Created by maimaigo3 on 2017/5/27.
//  Copyright © 2017年 homai. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HMLastPro.h"
@class HMAddCartWithSize;

typedef HMAddCartWithSize* (^addIndex)(NSIndexPath *);
typedef HMAddCartWithSize* (^addFrame)(CGRect );
typedef HMAddCartWithSize* (^addImageVI)(UIImage *);

@protocol HMAddCartWithSizeDelegate <NSObject>

- (void)getSelectSize:(NSArray *)sizeArray number:(NSString *)number;

@optional
- (void)noLogin;

@end

@interface HMAddCartWithSize : UIView

NS_STRONG HMLastPro *lastPro;

NS_ASSIGN id<HMAddCartWithSizeDelegate>delegate;

NS_STRONG NSIndexPath *index;

NS_ASSIGN CGRect aframe;

NS_STRONG UIImage *imageVI;

NS_COPY addIndex aindex;
NS_COPY addFrame aFrame;
NS_COPY addImageVI aImageVI;


- (void)dismiss;

- (void)show;

@end
